﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="classify.aspx.cs" Inherits="EDP.Application.Web.Code.classify" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <style type="text/css">
        .x-column-header {
            text-align: center;
        }
    </style>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager" AutoSizePanelID="grid_classifyList" runat="server" />
        <f:Grid ID="grid_classifyList" runat="server" ShowHeader="false" ShowBorder="false" Margin="0" DataKeyNames="ID" EnableCheckBoxSelect="false"
            AllowSorting="false" AllowPaging="false" OnRowCommand="grid_List_RowCommand">
            <Toolbars>
                <f:Toolbar runat="server" ToolbarAlign="Right">
                    <Items>
                        <f:Button ID="btn_add" runat="server" Text="新增编码分类" Icon="Add" Margin="0 10 0 0" />
                        <f:Button ID="btn_close" runat="server" Text=" 关 闭 " Icon="Cross" Margin="0 10 0 0" />
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Columns>
                <f:BoundField DataField="Name" DataSimulateTreeLevelField="LevelsDisplay" ExpandUnusedSpace="true" HeaderText="编码分类名称" />
                <f:BoundField DataField="CreateUserName" Width="100" HeaderText="创建人" />
                <f:BoundField DataField="CreateTime" Width="140" HeaderText="创建时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" TextAlign="center" />
                <f:LinkButtonField ColumnID="lb_edit" Width="30" CommandName="edit" EnableLock="true" CommandTitle="编辑编码分类" Icon="TableEdit" TextAlign="center" ToolTip="编辑" />
                <f:LinkButtonField ColumnID="lb_delete" Width="30" CommandName="delete" CommandTitle="删除编码分类" ToolTip="删除" Icon="Delete"
                    ConfirmTitle="删除编码分类" ConfirmText="是否删除该编码分类？" ConfirmTarget="Self" ConfirmIcon="Question" TextAlign="center" />
            </Columns>
        </f:Grid>
        <f:Window ID="win_edit" runat="server" OnClose="win_edit_Close"/>
    </form>
</body>
</html>
